package com.woniu.rabbit.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "order-server")
public interface OrderFeign {
    @GetMapping("/queryOrderIfExist")
    Boolean queryOrderIfExist(@RequestParam("orderId") String orderId);
}
